package cubes;

import java.util.Date;
import java.util.Random;

/**
 * Created by User on 09.06.2014.
 */
public class Cub {


    public int randomCubes(){
        int cubTMP;
        Random generator = new Random();
        do {
             cubTMP  = generator.nextInt(7);
        }while (cubTMP==0);


        return cubTMP;

    }

}
